import request from '@/utils/request'

/**
 * 新增订单操作记录表
 * @param {Object} data 对象参数
 */
export function addOrderOperationRecord(data) {
	return request({
		url: '/api/orderOperationRecord/addOrderOperationRecord',
		method: 'post',
		data: data
	})
}

/**
 * 修改订单操作记录表
 * @param {Object} data 对象参数
 */
export function editOrderOperationRecord(data) {
	return request({
		url: '/api/orderOperationRecord/editOrderOperationRecord',
		method: 'post',
		data: data
	})
}

/**
 * 删除订单操作记录表
 * @param {Object} id 主键编号
 */
export function deletOrderOperationRecord(id) {
	return request({
		url: '/api/orderOperationRecord/deletOrderOperationRecord/' + id,
		method: 'post',
	})
}

/**
 * 查询订单操作记录表列表
 * @param {Object} param 查询对象
 */
export function findOrderOperationRecordList(param) {
	return request({
		url: '/api/orderOperationRecord/findOrderOperationRecordList',
		method: 'get',
		param: param
	})
}

/**
 * 查询订单操作记录表详情
 * @param {Object} id 主键编号
 */
export function findOrderOperationRecordDetail(id) {
	return request({
		url: '/api/orderOperationRecord/findOrderOperationRecordDetail/' + id,
		method: 'get',
	})
}
